package com.juyu.miliao.common.constant.activity;

import java.time.LocalDate;

/**
 * 夏季活动redis key
 *
 * @author xuanqicheng
 */
public class StatisticsSummerActivityRedisKey {
    /**
     * 夏季活动寻豆支出
     */
    private static final String STATISTICS_SUMMER_EXPENDITURE_BEANS_KEY = "STATISTICS_SUMMER_EXPENDITURE_BEANS:";
    /**
     * 夏季活动寻币支出
     */
    private static final String STATISTICS_SUMMER_EXPENDITURE_COIN_KEY = "STATISTICS_SUMMER_EXPENDITURE_COIN:";
    /**
     * 夏季活动获取领奖人数
     */
    private static final String STATISTICS_SUMMER_GET_REWARDS_NUMBERS_KEY = "STATISTICS_SUMMER_GET_REWARDS_NUMBERS:";
    /**
     * 活动参与人数
     */
    private static final String STATISTIC_SUMMER_NUMBERS_OF_PARTICIPANTS_KEY = "STATISTIC_SUMMER_NUMBERS_OF_PARTICIPANTS:";

    /**
     * 夏季活动社区广告位点击次数
     */


    private static final String STATISTIC_SUMMER_DYNAMIC_ONCLICK_NUMBERS_KEY = "STATISTIC_SUMMER_DYNAMIC_ONCLICK_NUMBERS_KEY:";

    /**
     * 夏季活动寻寻广告位点击次数
     */
    private static final String STATISTIC_SUMMER_XUNXUN_ONCLICK_NUMBERS_KEY = "STATISTIC_SUMMER_XUNXUN_ONCLICK_NUMBERS_KEY:";


    /**
     * 夏季活动寻豆支出key
     *
     * @param localDate
     * @return
     */
    public static String getStatisticsSummerExpenditureBeansKey(LocalDate localDate) {
        return STATISTICS_SUMMER_EXPENDITURE_BEANS_KEY + localDate.toString();
    }

    /**
     * 夏季活动寻币支出key
     *
     * @param localDate
     * @return
     */
    public static String getStatisticsSummerExpenditureCoinKey(LocalDate localDate) {
        return STATISTICS_SUMMER_EXPENDITURE_COIN_KEY + localDate.toString();
    }

    /**
     * 夏季活动领奖人数
     *
     * @param localDate
     * @return
     */
    public static String getStatisticsSummerGetRewardsNumbersKey(LocalDate localDate) {
        return STATISTICS_SUMMER_GET_REWARDS_NUMBERS_KEY + localDate.toString();
    }

    /**
     * 活动参与人数
     *
     * @param localDate
     * @return
     */
    public static String getStatisticSummerNumbersOfParticipantsKey(LocalDate localDate) {
        return STATISTIC_SUMMER_NUMBERS_OF_PARTICIPANTS_KEY + localDate.toString();
    }

    /**
     * 夏日活动动态广告位点击次数
     * @param localDate
     * @return
     */
    public static String getStatisticSummerDynamicOnclickNumbersKey(LocalDate localDate){
        return STATISTIC_SUMMER_DYNAMIC_ONCLICK_NUMBERS_KEY+localDate.toString();
    }

    /**
     * 夏日活动寻寻广告位点击次数
     * @param localDate
     * @return
     */
    public static String getStatisticSummerXunxunOnclickNumbersKey(LocalDate localDate){
        return STATISTIC_SUMMER_XUNXUN_ONCLICK_NUMBERS_KEY+localDate.toString();
    }

}
